package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 下载记录对象 download_history
 * 
 * @author ruoyi
 * @date 2023-12-12
 */
public class DownloadHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long historyId;

    /** 设备信息 */
    @Excel(name = "设备信息")
    private String deviceInfo;

    /** IP */
    @Excel(name = "IP")
    private String downloadIp;

    public void setHistoryId(Long historyId) 
    {
        this.historyId = historyId;
    }

    public Long getHistoryId() 
    {
        return historyId;
    }
    public void setDeviceInfo(String deviceInfo) 
    {
        this.deviceInfo = deviceInfo;
    }

    public String getDeviceInfo() 
    {
        return deviceInfo;
    }
    public void setDownloadIp(String downloadIp) 
    {
        this.downloadIp = downloadIp;
    }

    public String getDownloadIp() 
    {
        return downloadIp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("historyId", getHistoryId())
            .append("deviceInfo", getDeviceInfo())
            .append("downloadIp", getDownloadIp())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
